package com.api.shopapi.service;

import com.api.shopapi.entity.GoodsPrice;
import com.api.shopapi.entity.dto.GoodsPriceDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsPriceService {
    int insert(GoodsPrice goodsPrice);

    int update(GoodsPrice goodsPrice);

    GoodsPrice getByGoodsPriceCode(String goodsPriceCode);

    List<GoodsPriceDTO> getByGoodsCode(String goodsCode);

    int delete(String goodsPriceCode);

    GoodsPrice getFloorPrice(String goodsCode);


    GoodsPrice getPrice(String goodsCode);
}
